<!DOCTYPE html>
<html>
<head>
    <title>配件仓库维护</title>
    <script>
        var pageConfig = {
            jss: ["pc/crm/base/gwai600"]
        };
        var p = {
            permission1: "${shiro.hasPermission('base:gwai600:edit')}",
            permission2: "${shiro.hasPermission('base:gwai600:del')}"
        };
    </script>
    @@include("/pc/crm/common/_head.html"){}@@
</head>
<!--class="layui-layout-body"-->
<body>

<div id="page">
    @@include("/pc/common/_search2TableConfig.html"){}@@
    <el-main>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            @@include("/pc/common/_search2Table.html"){}@@
            <el-row>
                <table id="gwai600_table"
                       class="layui-table"
                       lay-filter="gwai600_table">
                </table>
            </el-row>
        </el-col>
    </el-main>
</div>

<script type="text/html" id="table-toolbar">
    @@include("/pc/crm/common/_buttons_table_head.html",{btns:[{id:'add',permission:'base:gwai600:add'},
                                                           {id:'del',permission:'base:gwai600:del'}]}){}@@
</script>
<script type="text/html" id="script-gwai600setting">
    <div lay-event="detail" class="layui-icon layadmin-tabs-control layui-icon layui-icon-edit">
    </div>
</script>
<script type="text/html" id="script-gwai600setting-action">
    <ul class="layui-table-col-tool" style="background-color: white;padding: 10px;display: block">
        {{#  if(p.permission1 =='true'){ }}
        <li inx="1">
            <a href="javascript:;">编辑</a>
        </li>
        {{#  } }}
        {{#  if(p.permission2 =='true'){ }}
        <li inx="2">
            <a href="javascript:;">删除</a>
        </li>
        {{#  } }}
    </ul>
</script>
</body>
</html>


